package com.googlecode.simpleqms

class Company {
    String name
    String description
    static hasMany = [divisions: Division]

    static constraints = {
        name(blank: false, unique: true)
        description(maxSize: 255)
    }

    String toString() {
        "${name}"
    }
}